<div class="modal-header">
    选择客户
    <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body">
    <div class="row ">
        <div class="input-bar col-xs-5 wrapper-none pull-right">
            <div class="input-group clearfix">
                <input type="text" class="form-control" ng-model="condition.companyName" placeholder="请输入客户名称">
                <span class="input-group-addon" ng-click="search(1)">搜索</span>
            </div>
        </div>
        <table class="col-xs-12 table table-fixed m-t-sm">
            <thead>
            <tr>
                <th width="30%">客户名称</th>
                <th width="50%">客户编号</th>
                <th width="20%">操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-if="dataList.length == 0">
                <td class="text-center" colspan="3">暂时没有数据</td>
            </tr>
            <tr ng-repeat="item in dataList track by $index">
                <td class="spill-dots">{{item.companyName}}</td>
                <td class="spill-dots">{{item.dealerCode}}</td>
                <td>
                    <button class="btn btn-operate" ng-disabled="selectedId==item.platOrgId" ng-click="ok($index)">选择</button>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<div class="modal-footer">
    <div yb-page-info ng-model="pageInfo" yb-refresh="search()"></div>
</div>